/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/ccjzxyxt">ccjzxyxt</a> All rights reserved.
 */
package cn.net.dckj.modules.biz.entity;

import cn.net.dckj.common.persistence.DataEntity;
import cn.net.dckj.common.utils.excel.annotation.ExcelField;
import com.fasterxml.jackson.annotation.JsonFormat;

import javax.persistence.Transient;
import java.util.Date;

/**
 * 教师课表信息Entity
 *
 * @author xzy
 * @version 2019-04-15
 */
public class BizTeacherTimetable extends DataEntity<BizTeacherTimetable> {
    private static final long serialVersionUID = 1L;

    private String schoolYear;    // 学年
    private String term;          // 学期，字典[学期]
    private String weekStart;     // 学周开始，字典[学周]
    private String weekEnd;       // 学周结束，字典[学周]
    private String section;       // 课节(第几节课)，字典[课节]
    private String courseName;    // 课程名称
    private String teacherId;     // 上课教师id
    private String teacherIdCard; // 上课教师身份证号
    private String teacherName;   // 上课教师姓名
    private String classId;       // 上课班级id
    private String className;     // 上课班级名称
    private String address;       // 上课教室地点
    private String weekday;       // 星期几，字典[星期，weekday]

    // 以下查询使用
    @Transient
    private String week;

    @ExcelField(title = "学年", align = 2, sort = 10)
    public String getSchoolYear() {
        return schoolYear;
    }

    public void setSchoolYear(String schoolYear) {
        this.schoolYear = schoolYear;
    }

    @ExcelField(title = "学期", align = 2, sort = 20, dictType = "term")
    public String getTerm() {
        return term;
    }

    public void setTerm(String term) {
        this.term = term;
    }

    public String getWeek() {
        return week;
    }

    public void setWeek(String week) {
        this.week = week;
    }

    @ExcelField(title = "学周开始", align = 2, sort = 30, dictType = "week")
    public String getWeekStart() {
        return weekStart;
    }

    public void setWeekStart(String weekStart) {
        this.weekStart = weekStart;
    }

    @ExcelField(title = "学周结束", align = 2, sort = 40, dictType = "week")
    public String getWeekEnd() {
        return weekEnd;
    }
    @ExcelField(title = "星期几", align = 2, sort = 50, dictType = "weekday")
    public String getWeekday() {
        return weekday;
    }

    public void setWeekday(String weekday) {
        this.weekday = weekday;
    }
    public void setWeekEnd(String weekEnd) {
        this.weekEnd = weekEnd;
    }

    @ExcelField(title = "课节", align = 2, sort = 60, dictType = "section")
    public String getSection() {
        return section;
    }

    public void setSection(String section) {
        this.section = section;
    }

    @ExcelField(title = "课程名称", align = 2, sort = 70)
    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    public String getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(String teacherId) {
        this.teacherId = teacherId;
    }

    public String getTeacherIdCard() {
        return teacherIdCard;
    }

    public void setTeacherIdCard(String teacherIdCard) {
        this.teacherIdCard = teacherIdCard;
    }

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    public String getClassId() {
        return classId;
    }

    public void setClassId(String classId) {
        this.classId = classId;
    }

    @ExcelField(title = "上课班级名称", align = 2, sort = 90)
    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    @ExcelField(title = "上课地点", align = 2, sort = 100)
    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    @ExcelField(title = "备注", align = 1, sort = 900)
    public String getRemarks() {
        return remarks;
    }
}
